home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 January / Macworld (1998-01).dmg / Serious Demos / Visual MacStandardBasic Demo / Visual MSB User's Guide / Visual MSB User's Guide.rsrc / PICT_14.png < prev    next >
Portable Network Graphic  |  1997-10-23  |  119KB  |  816x1056  |  16-bit (952 colors)
Labels: book | hakham | monitor | reckoner
OCR: The only command allowed in Global modules the DIM command. Of course you can make comments by using the apostrophe Use the Global and EndGlobal commands desianate the beainnina and end of a Goba module Global Def GLOBAI All these var: iablc are acce ssible from any procedure Dim Title$ [200] The string Title can be up to 200 characters in length. Dim Age&, Name$ Age long variable while Name$ de faults 100 chars max. Dim NameI 20 [50 NameList di imens: ioned string array 20 strings that contain up 50 rs each Source Code Commenting It is helpful to place text in the source code of BASIC program for remembering and understanding what section of source code is suppose to do. This S especially important when the BASIC program is going to be modified by someone else than the original programmer ...